#include <iostream>

int dp(int n)
{
	if (n<= 1) 
    {
        return 1;
    }
    if (n == 2) 
    {
        return 2;
    }
    int a = dp(1);
    int b = dp(2);
    int temp = 0;
    for (int i = 3; i <= n; i++) 
    {
        temp = a + b;
        a = b;
        b = temp;
    }
    return temp;
    
};

using namespace std;

int main()
{
	int re=dp(10);
	cout<<"青蛙跳十阶有"<<re<<"种跳法";
	
	
}